/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.com.transporte.dao;

import ar.com.transporte.dominio.Rol;
import java.util.List;

/**
 *
 * @author Daniela
 */
public interface RolDao {
    public List<Rol> getAll();
    public List<Rol> getAll(int maxResults, int firstResult);
    public Rol getItem(int id);       
    public void insert(Rol rol);
    public void update(Rol rol);
    public void delete(Rol rol);    
    public int getRolCount();    
}
